package com.xiyu.service.convert.elder;

import com.xiyu.service.vo.elder.visit.VisitSingleGetOutput;
import com.xiyu.service.vo.elder.visit.VisitUpdateInput;
import com.xiyu.service.vo.elder.visit.VisitCreateInput;
import com.xiyu.service.vo.elder.visit.VisitPageQueryOutput;
import com.xiyu.service.model.elder.register.ElderVisit;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.babyfish.jimmer.Page;

/**
 * 来访登记 Convert
 */
@Mapper
public interface VisitConvert {
    VisitConvert INSTANCE = Mappers.getMapper(VisitConvert.class);


    List<VisitPageQueryOutput> pageQueryOutputConvert(List<ElderVisit> output);

    ElderVisit createInputConvert(VisitCreateInput input);

    ElderVisit updateInputConvert(VisitUpdateInput input);

    VisitSingleGetOutput singleGetOutputConvert(ElderVisit output);

}
